package com.bdsy.business.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.bdsy.business.model.AuctionTransRecord;

public interface AuctionTransRecordMapper {

	int add(AuctionTransRecord auctionTransRecord);
	
	List<AuctionTransRecord> selectAuctionTransRecordById(@Param(value="shopId")int shopId,@Param(value="userId")String userId);
	
	int update(AuctionTransRecord auctionTransRecord);
	
	int count(int shopId);
	
	List<Map> selectAuctionTransRecordByShopId(int shopId);
	
	List<Map> selectAuctionTransRecordByUserId(String userId);
	
	List<Map> auctionTransRecordByUserId(String userId);
	
}
